package com.zx.map.service;

import com.zx.map.service.model.CreditRepayInfoModel;
import com.zx.map.service.model.CreditRepayLogModel;
import com.zx.map.service.model.EncashLogModel;
import com.zx.map.service.model.OutcomeResponse;
import com.zx.map.service.model.PayCmbResponseModel;
import com.zx.map.service.model.SettleCardInfoModel;
import org.springframework.dao.DataAccessException;

import java.util.List;

/**
 * 远程服务访问接口
 * Created by IntelliJ IDEA. User: Administrator Date: 14-3-1 Time: 上午11:06 To
 * change this template use File | Settings | File Templates.
 */
public interface RemoteIntefaceVisitService {
    /**
     * 远程单笔出款接口
     *
     * @param settleCardInfoModel
     * @return
     * @throws org.springframework.dao.DataAccessException
     *
     */
    public OutcomeResponse outComeSingle(String amt, SettleCardInfoModel settleCardInfoModel) throws DataAccessException;


    /**
     * 远程批量出款接口
     *
     * @param encashLogModelList
     * @return
     * @throws DataAccessException
     */
    public List<EncashLogModel> outComeBatch(List<EncashLogModel> encashLogModelList) throws DataAccessException;


    /**
     * 招行单笔出款
     * @param amt
     * @return
     * @throws DataAccessException
     */
	PayCmbResponseModel outComeSingleByCmb(CreditRepayLogModel creditRepayLogModel,CreditRepayInfoModel model)
			throws DataAccessException;


    /**
     * 招行单笔出款
     * @param amt
     * @param orderId
     * @param settleCardInfoModel
     * @return
     * @throws DataAccessException
     */
    public OutcomeResponse outComeSingleByCmb(String amt, String orderId,
                                                    SettleCardInfoModel settleCardInfoModel) throws DataAccessException;

}
